package model;

public class Major {
    private String majorId,mName;
    private int collegeId,number;

    public Major(String majorId, String mName, int collegeId, int number) {
        this.majorId = majorId;
        this.mName = mName;
        this.collegeId = collegeId;
        this.number = number;
    }

    public Major() {

    }

    public String getMajorId() {
        return majorId;
    }

    public void setMajorId(String majorId) {
        this.majorId = majorId;
    }

    public String getmName() {
        return mName;
    }

    public void setmName(String mName) {
        this.mName = mName;
    }

    public int getCollegeId() {
        return collegeId;
    }

    public void setCollegeId(int collegeId) {
        this.collegeId = collegeId;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    @java.lang.Override
    public java.lang.String toString() {
        return "major{" +
                "majorId='" + majorId + '\'' +
                ", mName='" + mName + '\'' +
                ", collegeId=" + collegeId +
                ", number=" + number +
                '}';
    }
}
